-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#2256 Add ability to display text description next to heading label #2263
base: main
Are you sure you want to change the base?
Conversation
… label Signed-off-by: srikant <[email protected]>
Signed-off-by: srikant <[email protected]>
Signed-off-by: srikant <[email protected]>
Hi @nmgokhale I am trying to include below design for Properties Heading help button. |
"name": "number" | ||
} | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nmgokhale Is it okay if the help object is updated like this in paramDef to fetch description and link ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should be using https://github.com/elyra-ai/pipeline-schemas/blob/main/common-pipeline/operators/uihints-v3-schema.json#L23. I don't think we need to add another description object.
We'd need a config option though that would allow users to determine if descriptions are included or not.
tip={this.props.help?.data?.description?.label} | ||
link={this.props.help?.data?.description?.link ? this.props.help?.data?.description?.link : null} | ||
tooltipLinkHandler={this.props.controller.getHandlers().tooltipLinkHandler} | ||
direction="bottom" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nmgokhale here should tooltipLinkHandler
be adjusted to call helpClickHandler
?
Signed-off-by: srikant <[email protected]>
Signed-off-by: srikant <[email protected]>
Fixes: #2256
Developer's Certificate of Origin 1.1